//
// Created by 28365 on 2025/3/4.
//

#include "../include/config/handler/event/UpdateStartEvent.h"

const map<int, list<Res>,less<>> *UpdateStartEvent::getNeedUpdate() const {
    return needUpdate;
}

bool UpdateStartEvent::isCancel() const {
    return cancel;
}

void UpdateStartEvent::setCancel(bool _cancel) {
    UpdateStartEvent::cancel = _cancel;
}

UpdateStartEvent::UpdateStartEvent(const map<int, list<Res>,less<>> *needUpdate) : needUpdate(needUpdate) {}

